.consoleContainer {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: monospace;
  background-color: var(--bg);
  color: var(--text);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.clearButton {
  padding: 4px 12px;
  background-color: transparent;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text);
  
  &:hover {
    background-color: rgba(128, 128, 128, 0.1);
  }
}

.filterButtons {
  display: flex;
  gap: 6px;
}

.filterButton {
  padding: 4px 8px;
  background-color: transparent;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text);
  
  &:hover {
    background-color: rgba(128, 128, 128, 0.1);
  }
  
  &.active {
    background-color: rgba(0, 120, 215, 0.1);
    border-color: rgba(0, 120, 215, 0.5);
  }
}

.logContainer {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.logItem {
  padding: 4px 12px;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
  font-size: 13px;
  
  &:hover {
    background-color: rgba(128, 128, 128, 0.05);
  }
  
  &.log {
    color: var(--text);
  }
  
  &.info {
    color: #3498db;
  }
  
  &.warn {
    color: #f39c12;
    background-color: rgba(243, 156, 18, 0.05);
  }
  
  &.error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
  }
}

.timestamp {
  color: rgba(128, 128, 128, 0.7);
  margin-right: 10px;
  font-size: 0.9em;
  min-width: 110px;
  user-select: none;
}

.logContent {
  flex: 1;
  white-space: pre-wrap;
  word-break: break-word;
}

.statusBar {
  display: flex;
  padding: 4px 12px;
  font-size: 12px;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  background-color: rgba(0, 0, 0, 0.05);
  color: rgba(128, 128, 128, 0.9);
}

.statusItem {
  margin-right: 16px;
  
  &:last-child {
    margin-right: 0;
  }
}

:global(.light) {
  .consoleContainer {
    background-color: #f8f8f8;
  }
  
  .logItem {
    &.warn {
      background-color: rgba(243, 156, 18, 0.05);
    }
    
    &.error {
      background-color: rgba(231, 76, 60, 0.05);
    }
  }
  
  .statusBar {
    background-color: rgba(0, 0, 0, 0.03);
  }
} 